replace white spaces javascript

51

replace white spaces javascript -

const name = 'Hi my name is Flavio'
name.replace(/\s/g, '') //HimynameisFlavio

Comments

Submit
0 Comments